﻿using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Design;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Entity
{
    /// <summary>
    /// 项目数据上下文
    /// </summary>
    public class AIYDbContext:DbContext
    {
        //base:指代父类/基类
        //this:指代本类/当前类
        /// <summary>
        /// 构造函数（要带DbContextOptions参数）
        /// </summary>
        /// <param name="opts"></param>
        public AIYDbContext(DbContextOptions<AIYDbContext> opts):base(opts)
        {

        }
        
    }
   
}
